package br.com.esporte.view.site.component.listaChamada;

import org.apache.wicket.ajax.form.AjaxFormSubmitBehavior;
import org.apache.wicket.markup.html.list.ListItem;

import br.com.esporte.model.EntidadeEsporte;

/**
 * 
 * @author Milton Domingues
 *
 * @param <ITEM>
 */
public abstract class AjaxFormSubmitBehaviorEntidade<ITEM extends EntidadeEsporte> extends AjaxFormSubmitBehavior {

	private static final long serialVersionUID = 1L;

	private ListItem<ITEM> item;

	public AjaxFormSubmitBehaviorEntidade(String event, ListItem<ITEM> item) {
		super(event);
		this.item = item;
	}

	public ListItem<ITEM> getItem() {
		return item;
	}

	public void setItem(ListItem<ITEM> item) {
		this.item = item;
	}

}
